package com.johnson.news.model.bean;

import com.youmbe.library.data.BaseData;

public class ContinueView extends BaseData {

	String mid;
	String catid;
	String itemid;
	String title;
	String alt;
	public String thumb;
	public String getMid() {
		return mid;
	}
	public void setMid(String mid) {
		this.mid = mid;
	}
	public String getCatid() {
		return catid;
	}
	public void setCatid(String catid) {
		this.catid = catid;
	}
	public String getItemid() {
		return itemid;
	}
	public void setItemid(String itemid) {
		this.itemid = itemid;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getAlt() {
		return alt;
	}
	public void setAlt(String alt) {
		this.alt = alt;
	}
	@Override
	public String toString() {
		return "ContinueView [mid=" + mid + ", catid=" + catid + ", itemid="
				+ itemid + ", title=" + title + ", alt=" + alt + "]";
	}


	public NewsItem toNewsItem() {
		NewsItem item = new NewsItem();
		item.catid = catid;
		item.itemid = itemid;
		item.title = title;
		item.mid = mid;
		return item;
	}
	
}
